package service

import (
	"github.com/go-admin-team/go-admin-core/sdk/service"
	"tuowei.com/app/api/models"
)

type ApiTestRecord struct {
	service.Service
}

func (s ApiTestRecord) PracticeRecordList(data *models.SysConfig) error {
	var model models.SysConfig
	err := s.Orm.Model(model).Where("config_key = ?", "question_bank_type").First(&data).Error
	if err != nil {
		return err
	}
	return nil
}
